GrapeCity.Xaml.SpreadSheet.Data
IndexOf Method (NotifyCollectionBase<T>)


GrapeCity.Xaml.SpreadSheet.Data Namespace > NotifyCollectionBase<T> Class : IndexOf Method
The item for which to find the index.
Finds the index for a specified item.
Syntax
'Declaration
 
Public Function IndexOf( _
   ByVal item As T _
) As Integer
'Usage
 
Dim instance As NotifyCollectionBase(Of T)
Dim item As T
Dim value As Integer
 
value = instance.IndexOf(item)
public int IndexOf( 
   T item
)

Parameters

item
The item for which to find the index.

Return Value

Returns a zero-based index for the specified item.
See Also

Reference

NotifyCollectionBase<T> Class
NotifyCollectionBase<T> Members